package com.hospital.hms.dao;

import com.hospital.hms.pojo.DoctorWorkPlan;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Mapper
public interface DoctorWorkPlanDao {
    public ArrayList<HashMap> selectWorkPlanByTime(Map param);

    public Integer selectIdByDoctorAndSubId(Map param);

    @Transactional
    public void insert(DoctorWorkPlan doctorWorkPlan);

    public Integer selectNumById(int id);

    public void deleteById(int id);
}
